\hypertarget{class_caziac_1_1_tools_1_1_i_writer}{
\section{Caziac::Tools::IWriter Class Reference}
\label{class_caziac_1_1_tools_1_1_i_writer}\index{Caziac::Tools::IWriter@{Caziac::Tools::IWriter}}
}


the Writer Interface for file or standart output  




{\ttfamily \#include $<$IWriter.hh$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual \hyperlink{class_caziac_1_1_tools_1_1_i_writer}{IWriter} \& \hyperlink{class_caziac_1_1_tools_1_1_i_writer_abaf201bffeb376a06ea071e724e27b1c}{operator$<$$<$} (std::string const \&str)=0
\begin{DoxyCompactList}\small\item\em Get a line from the Writer. \item\end{DoxyCompactList}\item 
\hypertarget{class_caziac_1_1_tools_1_1_i_writer_a5840522efa1b9fb532883f8b9ae02ab0}{
virtual \hyperlink{class_caziac_1_1_tools_1_1_i_writer}{IWriter} \& {\bfseries operator$<$$<$} (std::vector$<$ char $>$ const \&buffer)=0}
\label{class_caziac_1_1_tools_1_1_i_writer_a5840522efa1b9fb532883f8b9ae02ab0}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
the Writer Interface for file or standart output 

\subsection{Member Function Documentation}
\hypertarget{class_caziac_1_1_tools_1_1_i_writer_abaf201bffeb376a06ea071e724e27b1c}{
\index{Caziac::Tools::IWriter@{Caziac::Tools::IWriter}!operator$<$$<$@{operator$<$$<$}}
\index{operator$<$$<$@{operator$<$$<$}!Caziac::Tools::IWriter@{Caziac::Tools::IWriter}}
\subsubsection[{operator$<$$<$}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf IWriter}\& Caziac::Tools::IWriter::operator$<$$<$ (
\begin{DoxyParamCaption}
\item[{std::string const \&}]{ str}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}
\label{class_caziac_1_1_tools_1_1_i_writer_abaf201bffeb376a06ea071e724e27b1c}


Get a line from the Writer. 


\begin{DoxyParams}{Parameters}
\item[{\em str}]string to fill \end{DoxyParams}
\begin{DoxyWarning}{Warning}
If the writer is empty the string will not be changed 
\end{DoxyWarning}
\begin{DoxyReturn}{Returns}
the writer modified
\end{DoxyReturn}
This is an example of a Writer uses :


\begin{DoxyCode}
        std::string     first = "Star wars" CAZIAC_ENDL;
        std::string     second = "come back" CAZIAC_ENDL;

        IWriter         *writer = new OutputWriter;
        
        *writer << first << second;
\end{DoxyCode}


This will print two lines like

\char`\"{}Star wars$\backslash$r$\backslash$n\char`\"{} \char`\"{}come back$\backslash$r$\backslash$n\char`\"{} 

The documentation for this class was generated from the following file:\begin{DoxyCompactItemize}
\item 
\hyperlink{_i_writer_8hh}{IWriter.hh}\end{DoxyCompactItemize}
